package edu.jd.authoritymanagement;

import java.util.List;

public class AuthorityManager {
    private static List<Authority> authorityList;
    private static AuthorityService authorityService = new AuthorityService();

    static {
        authorityList = authorityService.getAllAuthorities();
    }

    private AuthorityManager(){
    }

    public static List<Authority> getAuthList(){
        return authorityList;
    }

}
